projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d79232d
)
Fix a typo
author
haqle314
<16577773+haqle314@users.noreply.github.com>
Tue, 2 Jul 2019 21:58:41 +0000
(16:58 -0500)
committer
João Távora
<joaotavora@gmail.com>
Tue, 2 Jul 2019 21:58:41 +0000
(22:58 +0100)
* eglot.el (eglot--lsp-position-to-point): fix eglot--warn
call
Copyright-paperwork-exempt: yes
GitHub-reference: fix https://github.com/joaotavora/eglot/issues/273
lisp/progmodes/eglot.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/eglot.el
b/lisp/progmodes/eglot.el
index aec975c1e6f0aad108e887aa7f3b92cb7e408755..25c8fbe70751c577bbbfcf9b0987b03fe49011ba 100644
(file)
--- a/
lisp/progmodes/eglot.el
+++ b/
lisp/progmodes/eglot.el
@@
-1024,7
+1024,7
@@
If optional MARKER, return a marker instead"
(col (plist-get pos-plist :character)))
(unless (wholenump col)
(eglot--warn
-
:eglot
"Caution: LSP server sent invalid character position %s. Using 0 instead."
+ "Caution: LSP server sent invalid character position %s. Using 0 instead."
col)
(setq col 0))
(funcall eglot-move-to-column-function col)))